.mr15{
  margin-right: 15px;
}

.ml15{
  margin-left: 15px;
}

.ml30{
  margin-left: 30px;
}

.mb{
  margin-bottom: 10px;
}

.width200{
  width: 200px;
}

.k-avatar{
  height: 40px;
  width: 40px;
  border-radius: 100%;
}

.k-avatar-big{
  height: 100px;
  width: 100px;
  border-radius: 100%;
}

// 公共的 UI

.warning{
  color: red;
}
.error{
  color: red;
}
.error:hover {
  color: red;
}
.suc{
  color: #42b983;
}

.a-breadcrumb{
  padding-left: 20px !important;
}

.breadcrumb .a-breadcrumb__item{
  margin: 0 !important;
  margin-top: 20px !important;
}

.k-sidebar-main{
  height: calc(100% - 60px);
  .k-sidebar{
    overflow: auto;
    height: 100%;
    background-color: white;
  }
}

.main-container{
  width: calc(100% - 40px);
  height: calc(100% - 40px - 50px);
  padding: 20px;
  ul{
    padding: 0;
    margin: 0;
  }
  .contain-count-info{
    padding-bottom: 20px;
  }
}

.main-content-container{
  height: calc(100% - 50px);
  width: 100%;
}


table{
  thead tr, thead th, thead th div{
    //background-color: rgb(14, 143, 255) !important;
  }

  thead th{
    height: 50px !important;
    div{
      font-size: 14px !important;
    }
  }

  tbody{
    .a-table__row--striped td{
      background: #D8D8D8 !important;
    }
    td{
      border-bottom: 0 !important;
      div{
        //color: #333;
        font-size: 14px !important;
        margin-top: 5px;
      }
      a {
        margin-right: 10px;
      }
    }
  }
}

.content-table {
  thead tr, thead th, thead th div{
    background-color: #ffffff !important;
  }

  thead th{
    height: 50px !important;
    div{
      font-size: 14px !important;
      color: #333 !important;
    }
  }

  tbody{
    .a-table__row--striped td{
      background: #D8D8D8 !important;
    }
    td{
      border-bottom: 0 !important;
      div{
        color: #333 !important;
        font-size: 14px !important;
        margin-top: 5px;
      }
      a {
        margin-right: 10px;
      }
    }
  }
}

.tool-tip-content{
  width: 200px;
}

// 搜索

.filter{
  // padding: 20px 20px 0;
  .a-input{
    width: auto;
  }
  //&:after{
  //  content: "";
  //  display: block;
  //  height: 0;
  //  width: 0;
  //  overflow: hidden;
  //  visibility: hidden;
  //  clear: both;
  //}
  .l{
    float: left;
    min-width: 200px;

    .k-search-contaienr {
      margin-top: 5px;
    }
  }
  .r{
    float: right;

    a{
      color: inherit;
      text-decoration: none;
    }
    .uploader{
      display: inline-block;
      margin-left: 10px;
    }
  }
}


// info-detail

.info-header-bar{
  background-color: #20A0FF;
  color: white;
  width: 100%;
  text-align: center;
  font-size: 14px;
  padding-top: 12px;
  padding-bottom: 12px;
  line-height: 14px;
}

.info-sub-title{
  color: #333;
  font-size: 16px;
  font-weight: bold;
}

.info-button-bar{
  width: 100%;
  text-align: center;
  padding-top: 20px;
}

.info-one-content-container{
  width: 50%;
  font-size: 14px;
  color: #333333;
  background-color: white;
  box-shadow: 0 2px 14px 0 rgba(0,0,0,0.06);
  border-radius: 2px;
  line-height: 30px;
  ul{
    list-style: none;
  }
}

.left-info-container, .right-info-container{
  width: 40%;
  float: left;
  font-size: 14px;
  color: #333333;
  background-color: white;
  box-shadow: 0 2px 14px 0 rgba(0,0,0,0.06);
  border-radius: 2px;

  ul{
    list-style: none;
  }
}
.left-info-container{
  margin-left: 8%;
  line-height: 30px;
}
.right-info-container{
  margin-left: 4%;
  margin-right: 8%;
}

.info-content-container{
  background-color: #fff;
  padding-left: 30px;
  padding-right: 30px;
  //max-height: 20000px;
  overflow: auto;
  padding-top: 20px;
  padding-bottom: 20px;
}

.modal-info-container{
  width: 100%;
  font-size: 14px;
  color: #333333;
  background-color: white;
  box-shadow: 0 2px 14px 0 rgba(0,0,0,0.06);
  border-radius: 2px;
  line-height: 30px;
  ul{
    list-style: none;

    li{
      margin-top: 20px;
    }

    .info-span-title {
      font-size: 16px;
      margin-right: 20px;
    }
  }


}

.info-follow-container{
  color: #333;
  font-size: 14px;
  width: 100%;
  border-bottom: 1px dashed #D7D7D7;
  padding-top: 10px;
  padding-bottom: 20px;
  .follow-date-bar{
    height: 40px;
    width: 100%;
    position: relative;
    .date-icon{
      color: #20A0FF;
    }
    .date-txt{
      position: absolute;
      left: 10px;
      text-align: left;
    }
    .time-txt{
      position: absolute;
      right: 10px;
      text-align: right;
    }
  }

  .follow-content-bar{
    width: 100%;
    display: inline-flex;
    .follow-content-left{
      padding-left: 10px;
      height: 100%;
      text-align: center;
    }
    .follow-content-right{
      height: 100%;
      padding-left: 10px;
      .follow-title{
        color: #2B333B;
        font-weight: bolder;
      }
      .follow-content{
        padding-top: 10px;
      }
    }
  }
}

.follow-info{
  list-style: none;
}

// buttons

.a-button--primary, .a-button--info{
  background: #20A0FF !important;
  color: white !important;
  font-size: 16px !important;
  font-weight: bold !important;
}

.a-button--danger{
  background: #FB4747 !important;
  color: white !important;
  font-size: 16px !important;
  font-weight: bold !important;
}

.a-button--default{
  color: #848689 !important;
  font-size: 16px !important;
  font-weight: bold !important;
  border: 1px solid #BFBFBF;
  &.a-button--primary{
    color: #fff !important;
    border: 1px solid #20A0FF;
  }
}

// form UI

.form-warpper{
  margin-top: 20px;
  label{
    text-align: left !important;
  }
  input{
    border-radius: 0;
    border-top: 0;
    border-left: 0;
    border-right: 0;
  }
}

//.a-scrollbar{
//  .a-select-dropdown__wrap, .a-scrollbar__wrap{
//    min-height: 300px;
//  }
//}
//
//.a-cascader-menu{
//  min-height: 300px;
//}


// dialog
.a-dialog__wrapper{
  .a-dialog__header{
    padding: 18px;
    background-color: #F8F8F8;
    font-size: 16px !important;
    color: #1F2D3D !important;
    border-radius: 2px;
  }
  .a-dialog{
    border-radius: 2px;
  }
}

// clearfix
.clearfix::after{
  content: '';
  display: block;
  clear: both;
}

// 流程图
.self-time-line{
  .min-hei-auto{
    min-height: auto;
    display: inline-block;
  }
  .flex-title{
    display: flex;
  }
  .ant-timeline-item{
    padding: 0 0 6px;
    .ant-timeline-item-head{
      width: 0;
      height: 0;
      border-width:4px;
    }
    .ant-timeline-item-tail{
      top: 8px;
      left: 3px;
      border-color: #57AE59;
      height: calc(100% - 6px);
    }
  }
  .ant-timeline-item:last-child{
    padding: 0;
  }
  .ant-timeline-item-content{
    top: -2px;
  }
  .no-line{
    .ant-timeline-item-tail{
      border-color: rgb(206, 205, 205);
    }
  }
  .title-text{
    font-size: 13px;
    font-weight: bold;
    color: #333333;
    margin: 0;
  }
  .title-text-gray{
    font-weight: 500;
    color: #999999;
  }
  .time-text{
    font-size: 12px;
    color: #999999;
    margin-bottom: 3px;
  }
  .tag-box{
    font-size: 12px !important;
    border-radius: 4px;
    border: 1px solid;
    padding: 0px 4px;
    width: auto;
    display: inline-block;
    margin-top: 0;
    margin-left: 5px;
  }
  .tag-box-red{
    color: #FF4D4F;;
    background: #FFF1F0;
    border-color: #FFA39E;
  }
  .tag-box-green{
    color: #52C41A;
    background: #F6FFED;
    border-color: #B7EB8F;
  }
  .tag-box-gray{
    color: #9c9c9c;
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.15);;
  }
  .time-line-tooltip{
    width: 230px !important;
    max-width: inherit !important;
  }
  .reason-text{
    font-size: 12px !important;
    // display: inline-block !important;
    color: #F55F4E;
    overflow: hidden;
    word-break: break-all;
    text-overflow: ellipsis;
    display: -webkit-box; // 弹性伸缩盒
    -webkit-box-orient: vertical; // 设置伸缩盒子元素排列方式
    -webkit-line-clamp: 1;
  }
  .shou-more{
    font-size: 12px !important;
    color: #1D6FE9;
    text-decoration: underline;
    cursor: pointer;
  }
}

// spu poi 搜索栏ui调整
.new-filter{
  position: relative;
}
.search-flex{
  // display: flex;
  >div{
    display: inline-block;
    margin-bottom: 5px;
  }
}
.search-new-r{
  width: 200px;
  position: absolute;
  top: 15px;
  right: 15px;
  text-align: right;
}
.label-text-small{
  display: inline-block;
  width: 110px;
  text-align: right;
}
.label-text-middle{
  display: inline-block;
  width: 150px;
  text-align: right;
}
.label-text-large{
  display: inline-block;
  width: 200px;
  text-align: right;
}
.search-width-small{
  width: 150px !important;
}
.search-width-middle{
  width: 280px !important;
}

.search-box-item{
  width: calc(100% - 240px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  >div{
    margin-bottom: 5px;
  }
}
.search-box-item:last-child{
  margin-bottom: 0;
}
// @media screen and (max-width: 1680px) {
//   .label-text-large{
//     width: 150px;
//   }
//   .search-width-small{
//     width: 120px !important;
//   }
//   .search-width-middle{
//     width: 240px !important;
//   }
// }
// @media screen and (max-width: 1280px) {
//   .label-text-large{
//     width: 150px;
//   }
//   .search-width-small{
//     width: 120px !important;
//   }
//   .search-width-middle{
//     width: 240px !important;
//   }
// }

.product-item-box{
  display: flex;
  >div{
    width: 50%;
  }
}